package com.station.search.plugin.alias;

/**
 * @author: JT
 * @date: 2021/11/7
 * @Title:   别名格式化
 */
public enum AliasFormaterEnum implements AliasFormater {

    /**
     * 默认
     */
    DEFAULT_FORMATER {

        @Override
        public Object format(Object value) {
            return value;
        }

    },
    /**
     * 台站级别
     */
    STATION_LEVEL_FORMATER {
        @Override
        public Object format(Object value) {
            return AliasFormater.stationLevelMap.get(value);
        }
    }
}
